<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<jsp:include page="/resources/global/jsp/init.jsp" />
</head>
<body>
<div id="d"></div>
</body>
<script>
	var iframe = $(document.createElement("iframe"));
	//$("<iframe width=\"100%\" height=\"100%\" name='iframe' id=\"iframe\" frameborder=\"0\"/>");
	var jsp = "";
	var title = "";
	var op = new Array();
	var operation = "save";
	op = operation.split(":");
	if (op[0] == "save") {
		title = "新增用户";
		jsp = "auth/MngUserController/doNotNeedSecurityEdit.do?id=1&action=" + op[0];
		$("#btn_edit_password").css({
			display : "none"
		});
	} else if (op[0] == "update") {
		title = "更新用户";
		$("#tr_passwordAgain").css({
			display : "none"
		});
		jsp = "auth/MngUserController/doNotNeedSecurityEdit.do?action=" + op[0] + "&" + "id=" + op[1];
	} 
	iframe.attr({
		src : jsp,
		width : '100%',
		height : '100%',
		frameborder : '0',
		name : op[0]
	});
	//document.getElementById("d").appendChild(iframe[0]);
	
	/* function createIframe() {
		var i = document.createElement("iframe");
		i.src = jsp;
		i.scrolling = "auto";
		i.frameborder = "0";
		i.width = "200px";
		i.height = "100px";
		i.id = "iframe";
	};
	createIframe(); */
</script>
</html>